<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>公司信息设置</title>
    <script>
        var requireExtraPaths = {
            extrance: '../../../system_js/sysCorpInfoSet'
        };
    </script>
    <jsp:include flush="true" page="../base/base.jsp"></jsp:include>
</head>
<body class="site-body">
<section class="main-container">
    <!-- construct tree start -->
    <article class="construct-tree construct-tree2" id="left">
        <div class="title-bar clearfix">
            <div class="tree-search clearfix">
                <input type="text" class="input-text" placeholder="搜索" style="width: 80px;" id="searchlabel">
                <span class="icon"></span>
            </div>
        </div>
        <a class="add-user" id="add">+新增企业</a>
        <div class="tree-area" style="min-height: 200px;">
            <ul class="ztree" id="sysCorpTree" style="overflow: auto;">
            </ul>
        </div>
    </article>
    <article class="site-col-extra overflow-a" id="right">
        <div class="user-info-wrap">
            <div  class="user-info-box">
            <h2 class="title-style1"><span>基本信息</span></h2>
            <form class="mt30 pr-s" id="sysCorpForm">
            	<input type="hidden" id="corpId" name="corpId"/>
                <!-- <div class="logo-upload"></div> -->
                <ul class="form-grid form-grid2 clearfix">
                    <%--<li>--%>
                        <%--<label class="label-text label-require">企业编码：</label>--%>
                        <%--<input type="text" name="corpCd" class="input-text" maxlength="8" placeholder="请输入企业编码" id="corpCd"/>--%>
                    <%--</li>--%>
                    <li>
                        <label class="label-text"><span class="red-star">*</span>企业名称：</label>
                        <input type="text" name="corpName" class="input-text" data-validator="{required:true,maxLength:30}" maxlength="30" placeholder="请输入企业名称"/>
                    </li>
                        <li>
                            <label class="label-text"><span class="red-star">*</span>企业英文缩写：</label>
                            <input type="text" name="corpEngAb" class="input-text" data-validator="{required:true,charNum:true}" maxlength="32" placeholder="请输入企业英文缩写"/>
                        </li>
                    <li class="li-textarea">
                        <label class="label-text"><span class="red-star">*</span>企业简介：</label>
                        <textarea name="corpShrtnm" rows="5" cols="30" maxlength="250" placeholder="请输入企业简介" data-validator="{required:true, maxLength:250}"></textarea>
                        <!-- <input type="text" name="corpShrtnm" class="input-text" data-validator="{required:true}" maxlength="10" placeholder="请输入企业简称"/> -->
                    </li>

                    <li>
                        <label class="label-text"><span class="red-star">*</span>上级企业：</label>
						<input type="hidden" id="parentCorpId" name="parentCorpId"/>
						<input type="text" id="pCorpName" name="pCorpName" class="input-text" disabled="disabled" data-validator="{required:true}" maxlength="32" placeholder="请输入上级企业"/>
                    </li>
                    <li class="li-radio" id="enabledSt" >
                        <label class="label-text"><span class="red-star" >*</span>启停状态：</label>
                        <label class="radio-wrap"><input id="enabledSt0" name="enabledSt" class="radio" type="radio" value="1" data-validator="{required:true}"> <span class="span-text" for="enabledSt0">启用</span></label>
                        <label class="radio-wrap"><input id="enabledSt1" name="enabledSt" class="radio mleft" type="radio" value="0" data-validator="{required:true}"> <span  class="span-text" for="enabledSt1">停用</span></label>
                    </li>
                    <li>
                        <label class="label-text">企业执照号：</label>
                        <input type="text" name="corpBusLic" class="input-text" data-validator="{maxLength:20}" maxlength="20" placeholder="请输入营业执照号"/>
                    </li>
                    <li>
                        <label class="label-text">税务登记号：</label>
                        <input type="text" name="taxRegisCerti" class="input-text" data-validator="{maxLength:20}" maxlength="20" placeholder="请输入税务登记证号"/>
                    </li>
                    <li>
                        <label class="label-text">法人代表：</label>
                        <input type="text" name="legalRepre" class="input-text" data-validator="{maxLength:32}" maxlength="32" placeholder="请输入法人代表"/>
                    </li>
                    <li>
                        <label class="label-text"><span class="red-star">*</span>企业类型：</label>
                        <select id="corpType" name="corpType" dict="CORP0000"  data-validator="{required:true}"  class="u-input" style="width: 187px;">
                            <option value="">请选择企业类型</option>
                        </select>
                    </li>
                    <li>
                        <label class="label-text">经营范围：</label>
                        <input type="text" name="scopeBusiness" class="input-text" data-validator="{maxLength:30}" maxlength="30" placeholder="请输入经营范围"/>
                    </li>
                    <li>
                        <label class="label-text">注册资本：</label>
                        <input type="text" name="regisCapital" class="input-text" data-validator="{maxLength:30}" maxlength="30" data-validator="{number:true}" placeholder="请输入注册资本"/>
                    </li>
                    <li>
                        <label class="label-text"><span class="red-star">*</span>省份：</label>
                        <select id="provinceId" name="provinceId" dict="ADS00000" class="u-input" style="width: 187px;" data-validator="{required:true}" data-options="{cascade:'cityId'}">
                            <option value="">请选择省份</option>
                        </select>
                    </li>
                    <li>
                        <label class="label-text"><span class="red-star">*</span>城市：</label>
                        <select id="cityId" name="cityId" class="u-input" style="width: 187px;" data-validator="{required:true}" data-options="{url:'/baseOrgan/getCityByProvinceId.htm',textField:'codeDsc',idField:'codeValue',param:'provinceId',load:false}">
                            <option value="">请选择城市</option>
                        </select>
                    </li>
                    <li>
                        <label class="label-text">邮政编码：</label>
                        <input type="text" name="postalcode" class="input-text" maxlength="6" data-validator="{number:true}" placeholder="请输入邮政编码"/>
                    </li>

                    <li class="li-textarea mb0">
                        <label class="label-text vt">详细地址：</label>
                        <textarea name="detailAdr" rows="5" cols="30" maxlength="200" data-validator="{maxLength:200}" placeholder="请输入详细地址"></textarea>
                    </li>
                </ul>
               <!--  <h2 class="title-style1 mt25" style="width:910px"><span>企业对象显示名</span></h2>
                <ul class="form-grid form-grid2 clearfix mt30">
                    <li>
                        <label class="label-text">车辆：</label>

                        <select>
                            <option>全部</option>
                        </select>
                    </li>
                    <li>
                        <label class="label-text">线路：</label>

                        <select>
                            <option>全部</option>
                        </select>
                    </li>
                </ul> -->

            </form>
            </div>
            <div class="user-btn-box">
                <!-- <a href="" class="btn btn-save btn-medium">保存</a> -->
                <a class="btn btn-save btn-medium" id="saveOrUpdate">保存</a>
                <a class="btn btn-cancel btn-medium" id="delete">删除</a>
            </div>
        </div>
    </article>
</section>
</body>
</html>